﻿@model IEnumerable<Data.Entity.Menu>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
@using (Html.BeginForm()) { 
    @Html.Action("GridViewPartial")
}
@section scripts{
    @Html.DevExpress().GetScripts(

                    new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
            new Script { ExtensionSuite = ExtensionSuite.GridView },
                new Script { ExtensionSuite = ExtensionSuite.HtmlEditor },
                new Script { ExtensionSuite = ExtensionSuite.Editors }

)
    @Html.DevExpress().GetStyleSheets(

                    new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
            new StyleSheet { ExtensionSuite = ExtensionSuite.GridView },
                new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor },
            new StyleSheet { ExtensionSuite = ExtensionSuite.Editors }
)
}